package com.qb.plugin.asm;

import java.io.IOException;
import java.io.InputStream;

/**
 * File: null.java
 * Creator: dingpwen
 * Company: shiwei
 * Created on: 2021/7/2 11:11
 * Email: dingpwen@gmail.com
 * Details: TODO
 */
public interface IWeaver {
    /**
     * Check a certain file is weavable
     */
    public boolean isWeavableClass(String filePath) throws IOException;

    /**
     * Weave single class to byte array
     */
    public byte[] weaveSingleClassToByteArray(InputStream inputStream) throws IOException;
}
